<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		
	</head>
	<body>
		<div ng-app = "app" ng-controller = "ctrl">
			
		</div>
		<script type="text/javascript" src="../org/angular.min.js" ></script>
		<script>
			var myApp = angular.module('app',[]);
			myApp.controller("ctrl",['$scope',function($scope){
				console.log(angular.isUndefined());  //true
				console.log(angular.isDefined());    //false
				console.log("data"+angular.isDate(new Date));   //datatrue
				console.log(angular.isString());  //
				console.log(angular.isNumber());
				console.log(angular.is);  
				f = {name: 'abc'};
				console.log(angular.isObject(f));   //true
				g = {name: 'abc'};
				console.log(angular.equals(f,g));   //比较两个数字是否相等
				var Element = document.getElementsByTagName('div').item(0);
				console.log(angular.isElement(Element));   //判断是否为dom元素
			}]);
		</script>
	</body>
</html>
